Year f (date) -> Number
                                                                                    Pg 18-5

date
   Date        Date for which to return the year

Year of returns a number indicating the year of date. The value returned is a four digit number.

The following example illustrates the use of Year of. The results are assigned to the variable Result. The comments describe what Result is set to:

  Result := Year of (!12/25/92!)      ` Result gets 1992
  Result := Year of (Current date) ` Result gets year of current date

See also: Day f, Month f